package com.itheima.test4;

public class Test {
    public static void main(String[] args) {
        Automobile benChi = new Automobile("奔驰", 50000);
        benChi.Gps();
        benChi.run();
        Automobile baoMaC = new Automobile("宝马", 50000);
        Motorbike yamaha = new Motorbike("雅马哈", 100000);
        yamaha.Gps();
        yamaha.run();
        Motorbike banMaM = new Motorbike("宝马", 1000);
    }
}
